package com.iqiyi.mapper;

import com.iqiyi.domain.Movie;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.iqiyi.entity.MovieVo;

import java.util.List;

/**
* @author 11757
* @description 针对表【movie】的数据库操作Mapper
* @createDate 2022-12-17 12:24:17
* @Entity com.iqiyi.domain.Movie
*/
public interface MovieMapper extends BaseMapper<Movie> {
    public List<MovieVo> findAll();
    public void deleteMovie2(Integer movieId);
    public void deleteMovieAndCategories(Integer movieId);
    public void deleteMovieAndActors(Integer movieId);
    public List<MovieVo> findTop3ByCates(Integer id);
    public List<MovieVo> findTop3ByActors(Integer id);
}




